{layout name="common/base" }
<div class="layui-form layuimini-form">
    <input type="text" hidden value="<?php echo $data['id'];?>" name="id">
    <div class="layui-form-item">
        <label class=" layui-form-label">选择类型</label>
        <div class="layui-input-block" style="width: 375px;">
            <input type="radio" name="order_status" title="发货" checked="checked" value='2'/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class=" layui-form-label">快递公司</label>
        <div class="layui-input-block" style="width: 375px;">
            <select name="delivery_code">
                <?php foreach ($expressList as $k => $v): ?>
                <option value="<?php echo $v['code']; ?>"><?php echo $v['name']; ?></option>
                <?php endforeach; ?>
            </select>

        </div>
    </div>

    <div class="layui-form-item">
        <label class=" layui-form-label">快递单号</label>
        <div class="layui-input-block" style="width: 375px;">
            <input type="text" name="delivery_no" lay-verify="required" lay-reqtext="快递单号不能为空" placeholder="请输入快递单号" class="layui-input">
        </div>
    </div>



    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="saveBtn">确认发货</button>
        </div>
    </div>
</div>

<script type="text/javascript">
    var url = '/admin/store.order/todelivery';
    add_edit(url);
</script>
